import { myRequest, requestAll } from './service'

export const apis = {
  requestGetXzspjPermission: (param) => myRequest('xzspj/getXzspjPermission/', param),
  requestGetObjectType: (param) => myRequest('reList/getObjectType/', param),
  requestGetSex: (param) => myRequest('reList/getSex/', param),
  requestGetEducation: (param) => myRequest('reList/getEducation/', param),
  requestGetPoliticalStatus: (param) => myRequest('reList/getPoliticalStatus/', param),
  requestGetJglqfs: (param) => myRequest('reList/getJglqfs/', param),
  requestGetLegalPersonType: (param) => myRequest('reList/getLegalPersonType/', param),
  requestGetOrgType: (param) => myRequest('reList/getOrgType/', param),
  requestNationality: (param) => myRequest('reList/nationality/', param),
  requestEthnicity: (param) => myRequest('reList/ethnicity/', param),
  requestGetProvince: (param) => myRequest('reList/getProvince/', param),
  requestGetFormInfo: (param) => myRequest('xzspj/getFormInfo/', param),
  requestGetSaveData: (param) => myRequest('xzspj/getSaveData/', param),
  requestGetCity: (param) => myRequest('reList/getCity/', param),
  requestGetArea: (param) => myRequest('reList/getArea/', param),
  requestUploadify: (param) => myRequest('xzspj/uploadify/', param, { type: 'upload' }),
  requestGetUid: (param) => myRequest('xzspj/getUid/', param),
  requestSubmitSP: (param) => myRequest('xzspj/submitSP/', param),
  httpAll: (fnArr) => requestAll(fnArr)
};
